from zuokao3moni.Page import Page
from selenium.webdriver.common.by import By

class Page2(Page):
    shuru=(By.CLASS_NAME,'search-input')
    def send_shuru(self):
        self.send_keys(self.shuru,'测试')

    sousuo=(By.CLASS_NAME,'search-input-btn')
    def click_sousuo(self):
        self.click(self.sousuo)

    login_dy2=(By.XPATH,'/html/body/div[5]/div[2]/div[2]/div[1]/ul/li[1]/div[1]/em/a')
    def dy2(self):
        self.text(self.login_dy2)